﻿/* 
 *  <copyright file="IUser.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */

using System;
using System.Collections.Generic;
using SobrietyEngine.Guids;
using SobrietyEngine.Input;
using SobrietyEngine.Input.Mapping;
using SobrietyEngine.PlayerData;

namespace SobrietyEngine.User
{
    public interface IUser
    {
        String UserName { get; }
        CGuid Guid { get; set; }
        IPlayerGameData GameData { get; set; }
        List<IInputMapper> InputMappers { get; set; }
        Boolean UsingGamepad { get; set; }
        int GamepadIndex { get; set; }
        Boolean UsingKeyboard { get; set; }
        Boolean Local { get; }
        Boolean Active { get; set; }
        List<IInputDevice> InputDevices { get; set;  }

        void AddInputMapper(IInputMapper mapper);
        void RemoveInputMapper(String typeOfMapper);
        void DisableInputMapper(String typeOfMapper);
        void EnableInputMapper(String typeOfMapper);

        void RemoveInputMapper(Type typeOfMapper);
        void DisableInputMapper(Type typeOfMapper);
        void EnableInputMapper(Type typeOfMapper);

    }
}
